package com.archermind.style.pojo;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;

public enum TextTypeEnum {
    PointTextSymbolizer,
    LineTextSymbolizer,
    LableIconSymbolizer;

    public static JSONArray getDict(){
        JSONArray array = new JSONArray();
        for(TextTypeEnum one: TextTypeEnum.values()){
            JSONObject obj = new JSONObject();
            obj.put("id",one.name());
            obj.put("text",one.name());
            array.add(obj);
        }
        return array;
    }
}
